package com.qiangesoft.blog.common.enums;

public enum YesOrNoEnum {
    NO(0, "否"),

    YES(1, "是");

    private final Integer code;
    private final String message;
    YesOrNoEnum(Integer code, String message) {
        this.code = code;
        this.message = message;
    }

    public Integer getCode() {
        return code;
    }

    public String getMessage() {
        return message;
    }
}
